<? 
	if(trim($_COOKIE["login_username"]) == ""){ 
?>
<TABLE WIDTH="750" BORDER=0 CELLPADDING=0 CELLSPACING=0 style="margin-top:5px;" align="center" height="500">
	<TR>
		<TD width="10" height="33" background="../image/control_03.gif"></TD>
		<TD height="33" background="../image/control_04.gif"><span id="topic_content" class="font_topic1">ระบบ Login ผู้ดูแลระบบ</span></TD>
		<TD width="10" height="33" background="../image/control_05.gif"></TD>
	</TR>
	<TR>
    <TD width="10" background="../image/control_07.gif"></TD>
		<TD bgcolor="#FFFFFF" valign="top">
            <table cellspacing="0" cellpadding="0" border="0" align="center">
            <tr><td align="center">
            <p><img src="../image/administrator.png"></p>
            <form id="login_form" method="post" action="chklogin.php">
                <table cellspacing="0" cellpadding="0" border="0" align="center">
                    <tr class="font_title"><td colspan="2" class="th_login" align="center" height="30"><b>Login</b></td></tr>
                    <tr><td colspan="2" height="10"></td></tr>
                    
                    <tr class="font_normal">
                    <td align="right"><b>User&nbsp;:&nbsp;</b></td>
                    <td align="left"><input size="15" type="text" name="user" id="user" maxlength="15"></td>
                    </tr>
                    <tr><td colspan="2" height="5"></td></tr>
            
                    <tr class="font_normal">
                    <td align="right"><b>Password&nbsp;:&nbsp;</b></td>
                    <td align="left"><input size="15" type="password" name="passwd" id="passwd" maxlength="15"></td>
                    </tr>
                    <tr><td colspan="2" height="5"></td></tr>
            
                    <tr><td colspan="2" align="center"><input type="submit" id="submit" value="Login" /></td></tr>
                    <tr><td colspan="2" height="10"></td></tr>
                </table>
            </form>
            </td></tr>
            </table>
          </TD>
		<TD width="10" background="../image/control_09.gif"></TD>
	</TR>
	<TR>
		<TD width="10" height="8" background="../image/control_10.gif"></TD>
		<TD height="8" background="../image/control_11.gif"></TD>
		<TD width="10" height="8" background="../image/control_12.gif"></TD>
	</TR>
</TABLE>
<?
}
?>